//
//  BYSearchController.h
//  BYControls
//
//  Created by 彬boy on 2018/11/19.
//  Copyright © 2018年 彬boy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BYNavSearchBar.h"

NS_ASSUME_NONNULL_BEGIN

@interface BYSearchController : UISearchController

@property (nonatomic, strong) BYNavSearchBar *ohSearchBar;

- (instancetype)initWithSearchResultsController:(UIViewController *)searchResultsController searchBarFrame:(CGRect)frame placeholder:(NSString *)placeholder textFieldLeftView:(UIImageView *)leftView showCancelButton:(BOOL)showCancelButton barTintColor:(UIColor *)barTintColor;

@end

NS_ASSUME_NONNULL_END
